import Vue from "vue";

Vue.directive('ping',{
  bind: function (...args) {
    console.log("bind ping")
    // el.style.position = 'fixed'
    // el.style.top = binding.value + 'px'
    console.log(args)
  },
  componentUpdated: function () {
    console.log("componentUpdated ping")
  },
  update: function () {
    console.log("update ping")
  }
})

Vue.directive('pong',{
  bind: function (...args) {
    console.log("bind pong")
    // el.style.position = 'fixed'
    // el.style.top = binding.value + 'px'
    console.log(args)
  },
  componentUpdated: function () {
    console.log("componentUpdated pong")
  },
  update: function () {
    console.log("update pong")
  }
})